package com.woniuxy.bases.mapper;

import com.woniuxy.bases.entity.Area;
import com.woniuxy.bases.entity.dto.AreaUpdateDTO;
import com.woniuxy.bases.entity.vo.AreaDelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AreaMapper {
    List<Area> getAllArea(int areaStatus);

    boolean banAreas(List<AreaDelVo> list);

    boolean addNewAreas(List<Area> list);

    boolean delAreas(List<AreaDelVo> list);

    boolean updateArea(AreaUpdateDTO areaUpdateDTO);

    boolean getAreaById(int  areaId);

}
